package cn.swpu.blog.dao;

import cn.swpu.blog.entity.BlogContent;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface BlogContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BlogContent record);

    BlogContent selectByPrimaryKey(Integer id);

    List<BlogContent> selectAll();

    int updateByPrimaryKey(BlogContent record);

    BlogContent selectByBlogId(Integer blogId);
}